package facade.Socio;

import dao.implementations.postgresql.Socio.SocioDB;
import dao.interfaces.Socio.ISocio;
import facade.FacadeBase;

public class FacadeSocio extends FacadeBase{
	
	
	public int eliminarSocio(int rut)
	{
		int resp = -1;
		ISocio socioDB = new SocioDB(this.connection.getConnection());
		
		resp = socioDB.eliminarSocio(rut);
		
		this.closeConnection();		
		return resp;
	}
}
